package com.xuecheng.manage_cms.service;

import com.xuecheng.framework.domain.system.SysDictionary;
import com.xuecheng.manage_cms.dao.SysDictionaryRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysService {
    @Autowired
    SysDictionaryRepository directoryRepository;

    public SysDictionary findSysDictionaryByType(String type) {
        return directoryRepository.findByDType(type);
    }
}
